﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/HomePage.Master" AutoEventWireup="true" CodeBehind="deleteTicket.aspx.cs" Inherits="Web.Views.Common.deleteTicket" %>
<%@ Register src="../Controls/SearchTransferTicket.ascx" tagname="SearchTransferTicket" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>删除转让火车票 - easydp.net|容易订票网</title>
<meta name="Author" content="容易订票网,容易订票,火车票价查询,火车票价格查询,全国火车票价查询,火车,火车票,票价,全国火车票价格查询,订票,网上订票,铁路新闻,路局,春运,提速" />
<meta name="Keywords" content="容易订票网,容易订票,火车票价查询,火车票价格查询,全国火车票价查询,火车,火车票,票价,全国火车票价格查询,订票,网上订票,铁路新闻,路局,春运,提速" />
<meta name="Description" content="容易订票网,容易订票,火车票价查询,火车票价格查询,全国火车票价查询,火车,火车票,票价,全国火车票价格查询,订票,网上订票,铁路新闻,路局,春运,提速" />


<link href="../../Content/style/TransferTicket.css" rel="stylesheet" type="text/css" />
<script>

    function stripParen(str) {
        var s = str.indexOf('('); var e = str.indexOf(')');
        var r = str.substring(0, s) + str.substr(e + 1);
        return r;
    }

    function addEvent(obj, evType, fn) {
        if (obj.addEventListener) {
            obj.addEventListener(evType, fn, false);
            return true;
        } else if (obj.attachEvent) {
            var r = obj.attachEvent("on" + evType, fn);
            return r;
        } else {
            return false;
        }
    }

    function initSugg() {
        citySuggCore("from1", null, "../Controls/CI.aspx?ci=");
        citySuggCore("to_number1", null, "../Controls/CI.aspx?ci=");
    }
</script>
<script language="javascript" src="../../Content/JS/Suggest/city.js"></script>
<script language="javascript" src="../../Content/JS/Suggest/suggest.js"></script>
<script language="javascript" src="../../Content/JS/prototype.js"></script>
<script language="javascript" src="../../Content/JS/Scriptaculous/scriptaculous.js?load=effects"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlace" runat="server">
<script language="javascript">
    window.onload = function() {
        document.getElementById("transfer_v").className = "curr-nav";
    }
</script>
  <div class="area">  
    <div class="col670">
    	<uc1:SearchTransferTicket ID="SearchTransferTicket1" runat="server" /><!-- end topBar -->
  
    <div runat="server" id="divLogin"> 
	<div class="blank5"></div> 
	  <div class="breadCrumb">
	  	<a href="TransferTicket.aspx" target="_blank">火车票转让首页</a>
	  	-&gt;删除信息
	  </div>
      <div class="blank10"></div>
        <div class="box638">
        <form action="deleteTicket.aspx" method="post">
          <h3>删除信息</h3>
          <fieldset>
            <p>
              <label>电话：</label>
              <input name="mobile" type="text" value="请输入您填写的电话或手机号" onblur="if(this.value=='') this.value='请输入您填写的电话或手机号'" onfocus="if(this.value=='请输入您填写的电话或手机号')this.value='';"/>
            </p>
            <p>
              <label>邮箱：</label>
              <input name="email" type="text" value="请输入您填写的E-mail" onblur="if(this.value=='') this.value='请输入您填写的E-mail'" onfocus="if(this.value=='请输入您填写的E-mail')this.value='';"/>
            </p>
            
            <p><input name="submit_login" type="submit" class="btn131"  value="登 录"/></p>  
          </fieldset>
        </form>
        </div><!-- end box638 -->
	  </div>
	  
	  
	  <div runat="server" id="divTicketList" style="display:none">
	  <div class="blank5"></div>  
	  <div class="breadCrumb">
	  	<a href="TransferTicket.aspx">火车票转让首页</a>
	  	-&gt;删除信息
	  </div>
      <div class="blank10"></div>
    <div class="box657">
      
        <div class="title30">
          <span class="font14">你发布的新信息（<span runat="server" id="spanCount" ></span>）</span>
          <span class="link12"><a href="NewTicket.aspx">·发布转让信息</a></span>
        </div>
        
        <div class="chart657">
          <table border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <th width="170">转让票信息</th>
			    <th width="62">车次</th>
			    <th width="85">车票类型</th>
			    <th width="49">票数</th>
			    <th width="114">发车时间</th>
			    <th width="120">信息发布时间</th>
			    <th width="53">操作</th>
			  </tr>
			  </table>
			  <asp:GridView ID="dgvDelTicket" runat="server" AutoGenerateColumns="false" ShowHeader="false"
			   onrowcommand="dgvDelTicket_RowCommand" >
			        <Columns>
			            <asp:TemplateField>
			                <ItemTemplate>
			                <table>
			                 <tr  class="even" >
			    <td width="170"><%# Eval("FromCity")%>---<%# Eval("ToCity") %> <span class="redlink"><a href="TicketDetali.aspx?__I=<%# Eval("TicketID") %>" target="_blank">(查看)</a></span></td>
			    <td width="62"><%# Eval("TicketNumber") %></td>
			    <td width="85"><%# Eval("TicketType") %></td>
			    <td width="49"><%# Eval("Amount") %>张</td>
			    <td width="114"><%# Eval("TicketDate", "{0:yyyy年MM月dd日}")%></td>
			    <td width="120"><%# GetPastTime(Eval("CreateOn").ToString())%></td>

			    <td width="53"><span class="redlink">
			    
			    <asp:LinkButton CommandName="del" Text ="删除" CommandArgument='<%# Eval("TicketID")+"^"+Eval("Email")+"^"+Eval("Telphone") %>'  runat="server" ID="delCmd" OnClientClick="if(confirm('你确信删除吗')){return true;}else{return false}"  style="cursor:pointer"></asp:LinkButton></span></td>
			  </tr>
			  </table>
			                
			                </ItemTemplate>
			            </asp:TemplateField>
			        </Columns>
			          <EmptyDataTemplate>
        <div style='text-align:left;margin-left:20px;line-height:20px;margin-bottom:10px;'>
		   <p style='color:#FF4E00;font-size:14px;font-weight:bold;'> 抱歉！你没有可删除的信息 ！<br /><br /></p>

			可能的原因有：<br />
			1、输入的电话号码和Email不匹配。<br />
			2、您没发布任何信息。<br />
			您可 <a href="deleteTicket.aspx" >重新登陆</a> <br />
			</div>
        
        </EmptyDataTemplate>
			  </asp:GridView>
               
			 			

        </div>
        
        
      </div><!-- end box657 -->
      </div>
      
    </div><!-- end col670 -->
	<div class="col270">
<script type="text/javascript" src="http://mat1.qq.com/www/js/swfobjectopt.js"></script>
<style>
.flashViews{width:204px; height:426px; border:1px solid #2b4f43}
</style>
<div id='fviews' class="flashViews" align="center">
<script type="text/javascript">
    var sofocus = new SWFObject("http://mat1.qq.com/news/09512/dsj512/dashijimainList.swf", "flash_focus", "100%", "100%", "9.0.28", "#FFFFFF");
    sofocus.addParam("allowNetworking", "all");
    sofocus.addParam("allowScriptAccess", "always");
    sofocus.addParam("allowFullScreen", "true");
    sofocus.addParam("scale", "noscale");
    sofocus.addParam("wmode", "transparent");
    //标题内容。用"|"分割。
    sofocus.addVariable("titlestr", "14：28分，四川汶川发生8.0级大地震，多地有震感。16：40分，温总理飞赴灾区指挥救灾。当日确认死亡8533人。|救灾直升机失事；唐家山堰塞湖抢险成功；确认69181人遇难18522人失踪。全国共接收各界捐赠款物总计467.43亿元。|确认69207人遇难18194人失踪；灾区考生参加延期高考；四川八成规模以上工业企业恢复生产。|确认死亡69181人遇难18522人失踪；30日青川发生6.1级地震，专家赴青川调查；百日大祭。|灾区中小学全部复课；确认69227人遇难；地震后已发生8次6级以上强余震；北川老县城被泥石流掩埋。| 灾区精神疾病高发，首例地震伤员罗桂琼跳楼自杀；灾区最后一批救灾部队完成救灾任务回撤。|灾区最后一条“生命通道”抢通；最后一位地震小伤员出院；遇难同胞半周年祭；北川异地重建选址基本确定。|灾后农房重建进入高峰期；北川出现2000多个单亲家庭，重组婚姻面临困难；审计发现抗震救灾款物管理使用存在六大问题。|500多灾区妇女成功再孕；损毁公路全抢通；温总理视察灾区，与灾民在板房过春节。|成都新建7个地震台；首个震后再生育宝宝诞生；北川新县城征地拆迁工作启动；北京万余就业岗位信息提供给灾区。|地震实物将迁入汶川大地震博物馆；中国银行将提供3000亿贷款促进四川灾后重建 ；因地震失业人员已有80％重新就业。|北川老县城开禁四天，两万群众进入北川祭奠亲人；灾区推出“感恩旅游”计划。|汶川大地震一周年，灾区再次成为媒体关注焦点。汶川县举办11项纪念活动。");
    //点击的URL。用"|"分割。
    sofocus.addVariable("clickstr", "http://news.qq.com/zt/2009/512dsj/0512.htm|http://news.qq.com/zt/2009/512dsj/604.htm|http://news.qq.com/zt/2009/512dsj/703.htm|http://news.qq.com/zt/2009/512dsj/805.htm|http://news.qq.com/zt/2009/512dsj/924.htm|http://news.qq.com/zt/2009/512dsj/1003.htm|http://news.qq.com/zt/2009/512dsj/1112.htm|http://news.qq.com/zt/2009/512dsj/1220.htm|http://news.qq.com/zt/2009/512dsj/0124.htm|http://news.qq.com/zt/2009/512dsj/092.htm|http://news.qq.com/zt/2009/512dsj/093.htm|http://news.qq.com/zt/2009/512dsj/405.htm");
    //悬停的秒数
    sofocus.addVariable("secstr", "3");
    sofocus.write("fviews");
    // ]]> 
 </script><!--[if !IE]>|xGv00|83dbc900ae5d8d1cbe11e71bd470cb2f<![endif]--></div>
    </div>
	</div>
</asp:Content>
